package com.fs.files.service;

import com.fasterxml.jackson.core.JsonProcessingException;
import com.fs.files.pojo.html.HtmlPojo;

public interface HtmlService {
	
	/**
	 * 解析html文件为实体对象Object
	 * @param path
	 * @throws JsonProcessingException 
	 */
	public HtmlPojo readHtml(String path) throws JsonProcessingException;
	
	/**
	 * html文件转换成json字符串
	 * @param path
	 * @return
	 * @throws JsonProcessingException
	 */
	public String readHtmlToJsonString(String path) throws JsonProcessingException;

}
